package jd.api.vo.product;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public class MessageGetVO implements Serializable {
    private Map<String, Object> result;
    private Long id;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


    public Map<String, Object> getResult() {
        return result;
    }

    public void setResult(Map<String, Object> result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "MessageGetVO [result=" + result + ", id=" + id + ", time="
                + time + ", type=" + type + "]";
    }


}
